﻿namespace EyeOpen.Presentation
{
    using System;
    using System.Collections.Generic;
    using EyeOpen.Domain;

    public interface IServiceProvider<T> where T : IUniqueObject
    {
        T Get(Guid id);

        IList<T> GetAll();

        void Insert(T value);

        void Update(T value);

        void Delete(T value);
    }
}